package com.sgl.gk.service;

import com.sgl.common.core.domain.AjaxResult;
import com.sgl.gk.controller.vo.GkSparePartsVo;
import com.sgl.gk.controller.vo.ReworkVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface GkSparePartsService {
    AjaxResult selectByBarCode(String barCode);

    AjaxResult replace(GkSparePartsVo gkSparePartsVo);

    List<GkSparePartsVo> listHistory(ReworkVo reworkVo);

    void export(ReworkVo reworkVo, HttpServletResponse response);

    Long countBySparePartsCode(ReworkVo reworkVo);
}
